				<div class="clearfix"></div>

                <div class="col-sm col-sm-12 form-inline text-right">
                    <hr/>
                    <div class="form-group">
                        [<tag id="cmdReOrder" type="linkbutton" resourcekey="OrderAdmin.cmdReOrderButton" cssclass="btn btn-default" commandname="reorder" commandargument="ItemID" />]
                        
                        [<tag type="if" function="settings" key="alloweditorder" testvalue="True" display="{ON}" />]
                        [<tag id="cmdEditOrder" type="linkbutton" resourcekey="OrderAdmin.cmdEditOrder" cssclass="btn btn-default" commandname="editorder" commandargument="ItemID" />]
						[<tag type="endif" />]
                        
                        [<tag id="cmdViewClient" type="linkbutton" resourcekey="Clients.cmdViewClientButton" cssclass="btn btn-default" commandname="viewclient"  commandargument="ItemID" />]
                        <div class="btn-group dropup">
                            <button type="button" class="btn btn-default"><i class="fa fa-envelope fa-fw fa-lg"></i> [<tag type="valueof" resourcekey="OrderAdmin.EmailOrder" />]</button>
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                                <span class="sr-only">[<tag type="valueof" resourcekey="OrderAdmin.ToggleDropdown" />]</span>
                            </button>
                            <ul class="dropdown-menu" role="menu">
                                <li>[<tag id="cmdEmailAmended" type="linkbutton" resourcekey="OrderAdmin.cmdEmailAmended" commandname="emailamended" />]</li>
                                <li>[<tag id="cmdEmailValidated" type="linkbutton" resourcekey="OrderAdmin.cmdEmailValidated" commandname="emailvalidated" />]</li>
                                <li>[<tag id="cmdEmailShipped" type="linkbutton" resourcekey="OrderAdmin.cmdEmailShipped" commandname="emailshipped" />]</li>
                                <li>[<tag id="cmdEmailReceipt" type="linkbutton" resourcekey="OrderAdmin.cmdEmailReceipt" commandname="emailreceipt" />]</li>
                            </ul>
                        </div>&nbsp;&nbsp;
                        <div class="btn-group dropup">
                            <button type="button" class="btn btn-default"><i class="fa fa-print fa-fw fa-lg"></i> [<tag type="valueof" resourcekey="OrderAdmin.PrintOrder" />]</button>
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                <span class="caret"></span>
                                <span class="sr-only">[<tag type="valueof" resourcekey="OrderAdmin.ToggleDropdown" />]</span>
                            </button>
                            <ul class="dropdown-menu" role="menu">
                                <li>[<tag id="cmdPrintOrder" type="linkbutton" resourcekey="OrderAdmin.cmdPrintOrder" commandname="printorder" />]</li>
                                <li>[<tag id="cmdPrintReceipt" type="linkbutton" resourcekey="OrderAdmin.cmdPrintReceipt" commandname="printreceipt" />]</li>
                                <li>[<tag id="cmdPrintDeliveryLabel" type="linkbutton" resourcekey="OrderAdmin.cmdPrintDeliveryLabel" commandname="Printdeliverylabel" />]</li>
                            </ul>
                        </div>
                    </div>
                </div>

				<div class="form-group">
				<div class="col-sm-12">
					<label class="control-label">[<tag type="valueof" resourcekey="OrderAdmin.emailmsg" />]</label>
					[<tag id="emailmsg" cssclass="form-control" type="textbox" height="100" textmode="MultiLine" />]
				</div>
				</div>


<div class="clearfix"></div>

			</div>
		</div>
	</div>
</div>

<div class="row">
	<div class="col-xs-12 col-sm-12">
		<div class="box">
			<div class="box-header">
				<div class="box-name">
					<i class="fa fa-search"></i><span>[<tag type="valueof" resourcekey="OrderAdmin.ProcessOrder" />]</span>
				</div>
				<div class="box-icons">
					<a class="collapse-link"><i class="fa fa-chevron-up"></i>
					</a><a class="expand-link"><i class="fa fa-expand"></i></a>
					<a class="close-link"><i class="fa fa-times"></i></a></div>
				<div class="no-move">
				</div>
			</div>
			<div class="box-content">
				<div class="form-horizontal dnnForm">
					<div class="form-group">
						<label class="col-sm-3 control-label">[<tag type="valueof" resourcekey="General.trackingcode" />]</label>
						<div class="col-sm-5">
							[<tag id="trackingcode" cssclass="form-control" type="textbox" />]
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">[<tag type="valueof" resourcekey="General.shippingdate" />]</label>
						<div class="col-sm-5">
							[<tag id="shippingdate" cssclass="form-control" type="textbox" datatype="date" />]
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">[<tag type="valueof" resourcekey="General.status" />]</label>
						<div class="col-sm-5">
							[<tag id="orderstatus" cssclass="form-control" type="orderstatus" />]
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">[<tag type="valueof" resourcekey="General.Invoice" />]</label>
					    <div class="col-sm-5">
					        [<tag id="invoicedoc" type="fileupload" cssclass="form-control" textwidth="0" maxlength="50" separator=" " />]
                            [<tag type='if' xpath="genxml/hidden/invoicefilename" testvalue="" display='{ON}' />]
					            [<tag id="cmdSaveDoc" type="linkbutton" cssclass="btn btn-default" resourcekey="General.cmdUploadFileButton" commandname="save" commandargument="ItemID" />]
					        [<tag type="endtestof" />]
                            [<tag type='if' xpath="genxml/hidden/invoicefilename" testvalue="" display='{OFF}' />]
                                [<tag id="cmdDownload" type="linkbutton" cssclass="btn btn-default" resourcekey="General.cmdDownloadButton" commandname="downloadinvoice" commandargument="ItemID" />]
                                [<tag id="cmdDeleteInvoice" type="linkbutton" cssclass="btn btn-default" resourcekey="General.cmdDeleteButton" commandname="deleteinvoice" commandargument="ItemID" />]
					        [<tag type="endtestof" />]
					    </div>
					</div>

					<div class="form-group">
					<div class="col-sm-offset-3 col-sm-6">
						[<tag id="cmdSave" type="linkbutton" resourcekey="General.cmdSaveButton" cssclass="btn btn-primary" commandname="save" />]
						[<tag id="cmdReturn" type="linkbutton" resourcekey="General.cmdReturnButton" cssclass="btn btn-default" commandname="return" />]
					</div>
					</div>
				<div class="clearfix"></div>

				</div>
			</div>
		</div>
	</div>
</div>

<div class="row">
	<div class="col-xs-12 col-sm-12">
		<div class="box">
			<div class="box-header">
				<div class="box-name">
					<i class="fa fa-search"></i><span>[<tag type="valueof" resourcekey="OrderAdmin.OrderHistory" />]</span>
				</div>
				<div class="box-icons">
					<a class="collapse-link"><i class="fa fa-chevron-up"></i>
					</a><a class="expand-link"><i class="fa fa-expand"></i></a>
					<a class="close-link"><i class="fa fa-times"></i></a></div>
				<div class="no-move">
				</div>
			</div>
			<div class="box-content">
				<div class="form-horizontal dnnForm">
					<div class="form-group">
					    <div class="col-sm-12">
					        <table class="table table-hover">
					        [<tag type="orderauditlist" template="ordersauditlist.html" />] 					            
					        </table>
					        <hr/>
					    </div>
					    <div class="col-sm-12">
					        <label class="control-label">[<tag type="valueof" resourcekey="OrderAdmin.addnotes" />]</label>
					        [<tag id="notes" cssclass="form-control" type="textbox" height="100" textmode="MultiLine" />]
                            [<tag id="addauditnote" type="linkbutton" resourcekey="General.cmdAddButton" cssclass="btn btn-primary" commandname="save" />]
					    </div>
					</div>
				<div class="clearfix"></div>

				</div>
			</div>
		</div>
	</div>
</div>

</div>
